//
//  singleObjectVC.m
//  SYPerfectDemo
//
//  Created by Lssyyy on 2018/6/4.
//  Copyright © 2018年 Lssyyy. All rights reserved.
//

#import "singleObjectVC.h"
#import "SingleObject.h"
@interface singleObjectVC ()

@end

@implementation singleObjectVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    SingleObject *s = [[SingleObject alloc]init];
    s.name = @"JJ";
    
    SingleObject *ss = [SingleObject sharedInstance];
    
    SingleObject *sss = [SingleObject new];
    SingleObject *ssss = [sss copy];
    NSLog(@"%@===%@===%@===%@",s.name,ss.name,sss.name,ssss.name);
}


@end
